﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HookupAppForm.Dto
{
    public class LoginDto
    {
        public string userNameOrEmailAddress { get; set; }
        public string password { get; set; }
        public bool rememberClient { get; set; } = true;
    }
    public class LoginResult
    {
        public Result result { get; set; }
        public object targetUrl { get; set; }
        public bool success { get; set; }
        public object error { get; set; }
        public bool unAuthorizedRequest { get; set; }
        public bool __abp { get; set; }
    }

    public class Result
    {
        public string accessToken { get; set; }
        public string encryptedAccessToken { get; set; }
        public int expireInSeconds { get; set; }
        public int userId { get; set; }
    }



}
